set(MIXERS
  WIPE-UP
  WIPE-LEFT
  WIPE-BARN-DOOR-V
  SLIDE-RIGHT
  PUSH-UP
  PUSH-DOWN
  WIPE-RIGHT
  WIPE-DOWN
  WIPE-BARN-DOOR-H
  SLIDE-LEFT
  PUSH-RIGHT
  WIPE-RECT
  WIPE-CIRCLE
  SLIDE-UP
  SLIDE-DOWN
  PUSH-LEFT
)

foreach(MIXER IN LISTS MIXERS)
  string(TOLOWER ${MIXER} LOWERCASE_MIXER)
  set(${MIXER}_SOURCES sleid0r_${LOWERCASE_MIXER}.c)
  if(MSVC)
	set(${MIXER}_SOURCES ${${MIXER}_SOURCES} ${FREI0R_1_2_DEF})
  endif(MSVC)
  add_library(sleid0r_${LOWERCASE_MIXER} MODULE ${${MIXER}_SOURCES})
  set_target_properties (sleid0r_${LOWERCASE_MIXER} PROPERTIES PREFIX "")
  install (TARGETS sleid0r_${LOWERCASE_MIXER} LIBRARY DESTINATION ${LIBDIR})
endforeach()

